home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / os2 / sio124.arj / SIOUSER.TXT < prev    next >
Text File  |  1993-12-22  |  61KB  |  1,383 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.                                      USERS MANUAL
  27.  
  28.               SIO.SYS and VSIO.SYS, Serial Communications Device Driver
  29.                for OS/2 V2 (and up) and its Virtual DOS Machines (VDM).
  30.  
  31.                         Copyright (c) 1993 by Raymond L. Gwinn
  32.                                  12469 Cavalier Drive
  33.                               Woodbridge, Virginia 22192
  34.                                  All Rights Reserved
  35.  
  36.                                   December 20, 1993
  37.  
  38.                                         Email
  39.                                  CompuServe 71154,575
  40.                              Internet p00321@psilink.com
  41.  
  42.                                          FAX
  43.                                     1-703-494-0595
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.                                      INTRODUCTION
  56.  
  57.           SIO.SYS and VSIO.SYS are companion device drivers for Version 2
  58.           (and up) of the OS/2 operating system.
  59.  
  60.           Both drivers (SIO/VSIO) have been coded with performance in mind,
  61.           possibly sacrificing some compatibility.  For this reason, SIO
  62.           and VSIO are not exact replacements for the OS/2 drivers COM and
  63.           VCOM.  However, all serial communications programs tested by the
  64.           author work correctly using SIO/VSIO.
  65.  
  66.           This manual is intended for the SIO user.  A separate SIO
  67.           Technical Reference Manual is included in the distribution zip. 
  68.           The Technical Reference Manual also documents some advanced
  69.           options and features that are not documented here.
  70.  
  71.           This manual and the software distributed with it is provided with
  72.           no guarantees.  Use it at your own risk.
  73.  
  74.           Support
  75.  
  76.           Extensive testing has been done to insure that this product works
  77.           on the widest possible range of OS/2 V2 (and up) systems.  In
  78.           most cases, problems can be resolved by reading this manual
  79.           carefully.
  80.  
  81.           Support is provided in section 1 (Other Vendors) of the OS/2
  82.           Vendor Forum on CompuServe (GO OS2AVEN).  Regular checks are made
  83.           in this Forum for SIO support questions.
  84.  
  85.           In addition, support is provided by Email and FAX.  Voice support
  86.           would overwhelm the author.  If, after reading the manual
  87.           carefully, you are unable to resolve a problem, you may fill out
  88.           PROBLEM.TXT (adding information as necessary) and Email/FAX it to
  89.           one of the following:
  90.  
  91.                                         Email
  92.                                  CompuServe 71154,575
  93.                              Internet p00321@psilink.com
  94.  
  95.                                          FAX
  96.                                     1-703-494-0595
  97.  
  98.           PROBLEM.TXT is included in the distribution ZIP.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.                                                                          ii
  107.  
  108.                                   TABLE OF CONTENTS
  109.  
  110.  
  111.           INTRODUCTION  . . . . . . . . . . . . . . . . . . . . . . . .   i
  112.                SIO Technical Reference Manual . . . . . . . . . . . . .   i
  113.                Support  . . . . . . . . . . . . . . . . . . . . . . . .   i
  114.                     OS/2 Vendor Forum on CompuServe . . . . . . . . . .   i
  115.  
  116.           WHAT IS SIO . . . . . . . . . . . . . . . . . . . . . . . . .   1
  117.  
  118.           WHAT IS VSIO  . . . . . . . . . . . . . . . . . . . . . . . .   2
  119.  
  120.           GETTING STARTED . . . . . . . . . . . . . . . . . . . . . . .   3
  121.  
  122.           Installing SIO/VSIO . . . . . . . . . . . . . . . . . . . . .   3
  123.                Quick Start  . . . . . . . . . . . . . . . . . . . . . .   3
  124.  
  125.           COMMAND LINE OPTIONS  . . . . . . . . . . . . . . . . . . . .   4
  126.                COM1 thru COMn . . . . . . . . . . . . . . . . . . . . .   4
  127.                I/O port address . . . . . . . . . . . . . . . . . . . .   4
  128.                IRQ number . . . . . . . . . . . . . . . . . . . . . . .   4
  129.                Forced 16550A  . . . . . . . . . . . . . . . . . . . . .   4
  130.  
  131.           PCMCIA  . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  132.  
  133.           AUTOMATIC IRQ ASSIGNMENT  . . . . . . . . . . . . . . . . . .   7
  134.  
  135.           DOS SETTINGS  . . . . . . . . . . . . . . . . . . . . . . . .   8
  136.                SIO_Allow_Access_COMn  . . . . . . . . . . . . . . . . .   8
  137.                SIO_Virtualize_COM_Ports . . . . . . . . . . . . . . . .   8
  138.                SIO_Virtualize_16550A  . . . . . . . . . . . . . . . . .   8
  139.                SIO_Share_Access_With_OS/2 . . . . . . . . . . . . . . .   8
  140.                SIO_Screen_Sync_Kludge . . . . . . . . . . . . . . . . .   9
  141.                SIO_Mode_DTR . . . . . . . . . . . . . . . . . . . . . .   9
  142.                SIO_Mode_IDSR  . . . . . . . . . . . . . . . . . . . .    10
  143.                SIO_Mode_OCTS  . . . . . . . . . . . . . . . . . . . .    11
  144.                SIO_Mode_ODSR  . . . . . . . . . . . . . . . . . . . .    11
  145.                SIO_Mode_RTS . . . . . . . . . . . . . . . . . . . . .    11
  146.                SIO_Mode_XON/XOFF  . . . . . . . . . . . . . . . . . .    12
  147.                SIO_Mode_FIFO_Load_Count . . . . . . . . . . . . . . .    13
  148.  
  149.           Configuration Profiles  . . . . . . . . . . . . . . . . . .    14
  150.                Seiko Smart Label Printer  . . . . . . . . . . . . . .    14
  151.  
  152.           Differences between SIO/VSIO and COM/VCOM . . . . . . . . .    15
  153.  
  154.           PROBLEMS AND SOLUTIONS  . . . . . . . . . . . . . . . . . .    17
  155.                IRQ for a port appears to be wrong . . . . . . . . . .    17
  156.                The modem will not initialize  . . . . . . . . . . . .    17
  157.                WinFax locks up during install . . . . . . . . . . . .    17
  158.                Telemate does not recognize VX00 as a FOSSIL . . . . .    17
  159.                Comm output is very slow from DOS  . . . . . . . . . .    17
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.                                                                         iii
  168.  
  169.                FaxWorks' driver FMD.SYS . . . . . . . . . . . . . . .    17
  170.                Procomm stops receiving  . . . . . . . . . . . . . . .    18
  171.                WinFax does not work well. . . . . . . . . . . . . . .    19
  172.                     Class 1 FAX modem . . . . . . . . . . . . . . . .    19
  173.                     Class 2 FAX modem . . . . . . . . . . . . . . . .    19
  174.                Fax/PM does not work . . . . . . . . . . . . . . . . .    20
  175.  
  176.           IRQ SHARING ON ISA  . . . . . . . . . . . . . . . . . . . .    21
  177.  
  178.           Appendix A, Hardware Port and IRQ Assignments . . . . . . .    22
  179.                Addresses and IRQs for COM1 and COM2 . . . . . . . . .    22
  180.                Defacto standard for COM3 and COM4 . . . . . . . . . .    22
  181.                Addresses and IRQ for COM3 through COM8 on the PS/2  .    22
  182.  
  183.           Appendix B, SIO Chips . . . . . . . . . . . . . . . . . . .    23
  184.                8250 . . . . . . . . . . . . . . . . . . . . . . . . .    23
  185.                8250A  . . . . . . . . . . . . . . . . . . . . . . . .    23
  186.                16450  . . . . . . . . . . . . . . . . . . . . . . . .    24
  187.                16C451 . . . . . . . . . . . . . . . . . . . . . . . .    24
  188.                16550 (Non A . . . . . . . . . . . . . . . . . . . . .    24
  189.                16550A . . . . . . . . . . . . . . . . . . . . . . . .    24
  190.                16550AF  . . . . . . . . . . . . . . . . . . . . . . .    24
  191.                16550AFN . . . . . . . . . . . . . . . . . . . . . . .    24
  192.                16550s Made by Western Digital . . . . . . . . . . . .    25
  193.                16C551 . . . . . . . . . . . . . . . . . . . . . . . .    25
  194.                16C552 . . . . . . . . . . . . . . . . . . . . . . . .    25
  195.                16C554 . . . . . . . . . . . . . . . . . . . . . . . .    25
  196.                82510  . . . . . . . . . . . . . . . . . . . . . . . .    25
  197.  
  198.           Appendix C, Multi-Port Serial I/0 Cards . . . . . . . . . .    26
  199.                STB 4COM . . . . . . . . . . . . . . . . . . . . . . .    26
  200.  
  201.           INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . .    27
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.                                                                           1
  210.  
  211.                                      WHAT IS SIO
  212.  
  213.           SIO is a Serial Input/Output (SIO) communications driver.  It
  214.           provides an interface between application programs and the serial
  215.           communications hardware.
  216.  
  217.           SIO had been designed as a high performance replacement for the
  218.           OS/2 device driver COM.SYS.  See the programmers reference manual
  219.           for information about the known differences between COM.SYS and
  220.           SIO.SYS.
  221.  
  222.           SIO only works with 8250 (type) serial I/O devices.  Such devices
  223.           include, but is not limited to the 8250A, 16450, 16550, 16550A
  224.           and the 82510.  If you have a PC that is an IBM or near
  225.           compatible which has a serial communication port, it is likely
  226.           that it contains one of these devices.  SIO will identify the
  227.           type of serial devices that it finds at load time.
  228.  
  229.           Like other Device Drivers, SIO will do very little standing
  230.           alone.  There must be an application(s) program that makes use of
  231.           SIO's functions before one will benefit from SIO.
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.                                                                           2
  240.  
  241.                                      WHAT IS VSIO
  242.  
  243.           VSIO is a Virtual Device Driver (VDD).  Virtual device drivers
  244.           provide services for DOS programs executing under OS/2.  Most
  245.           Virtual Device Drivers emulate a specific hardware device and/or
  246.           BIOS service.  The primary job of a Virtual Device Driver is to
  247.           convert misbehaved DOS input/output into well behaved
  248.           input/output.
  249.  
  250.           Using the protection mechanism of the 386 (and up) processor, a
  251.           Virtual Device Driver can instruct OS/2 to trap all input/output
  252.           for given hardware ports.  Once trapped, the Virtual Device
  253.           Driver (VDD) appropriately routes information to/from the
  254.           Physical Device Driver (PDD) and to/from the DOS program.
  255.  
  256.           VSIO creates a virtual (imaginary) 16550A or 16450 (UART) in
  257.           software.  VSIO does not emulate any BIOS services.  All of the
  258.           hardware registers of the virtual UART are simulated by VSIO. 
  259.           VSIO does not attempt to simulate the timing of the real UARTs. 
  260.           DOS programs that depend on the timing of real hardware UARTs may
  261.           have problems executing under VSIO.
  262.  
  263.           All DOS programs that execute under VSIO should have RTS/CTS
  264.           handshaking enabled regardless of the baud rate.  Note that this
  265.           enabling of RTS/CTS handshaking is independent of the RTS/CTS
  266.           handshaking used by SIO.
  267.  
  268.           The virtualization (simulation) provided by VSIO is not (and can
  269.           not be) exact.  However, most well written DOS programs should
  270.           not have problems.
  271.  
  272.           VSIO will only work with SIO installed and the versions of
  273.           SIO/VSIO must match.  If VSIO refuses to install, you most likely
  274.           have a version mismatch.  VSIO will not work with any other
  275.           device driver like COM.SYS.
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.                                                                           3
  284.  
  285.                                    GETTING STARTED
  286.  
  287.           Installing SIO/VSIO
  288.  
  289.           SIO is distributed as a ZIP file.  To extract the individual
  290.           files from the distribution file you need the program PKUNZIP or
  291.           an equivalent.  PKUNZIP is a product of PKWARE and can be
  292.           downloaded from almost any bulletin board system (BBS).  You
  293.           probably already have PKUNZIP and know how to use it, otherwise I
  294.           doubt that you would be reading this.  When PKUNZIP is used to
  295.           extract the various files, -AV should appear after each file name
  296.           as it is extracted.  In addition, the message:
  297.  
  298.                Authentic files Verified!
  299.  
  300.           should appear after the extraction process.  If this message does
  301.           not appear, or appears with a name other than Raymond L. Gwinn,
  302.           the file is not an original SIO distribution file.
  303.  
  304.           The only file that the basic user actually needs is SIO.SYS. 
  305.           Virtual DOS machine (VDM) users will also want VSIO.SYS.  Copy
  306.           one or both of these files to a convenient directory or
  307.           subdirectory on your system.
  308.  
  309.           Quick Start
  310.  
  311.           Copy SIO.SYS and VSIO.SYS to the root directory of your boot
  312.           drive or diskette.
  313.  
  314.           If you are going to use standard communications ports, either
  315.           COM1 or COM2 on an ISA buss (AT or clone), or COM1 through COM4
  316.           on a PS/2, then add the following line to your CONFIG.SYS file:
  317.  
  318.                DEVICE=SIO.SYS
  319.                DEVICE=VSIO.SYS
  320.  
  321.           Be sure to REMark out the COM.SYS and VCOM.SYS device drivers if
  322.           they exist in your CONFIG.SYS.
  323.  
  324.           With the above statements you will be able to use standard COM1
  325.           and/or COM2 (if they exist) on any PC system know to the author.
  326.  
  327.           If your setup is more complex, you must read on.
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.                                                                           4
  336.  
  337.                                  COMMAND LINE OPTIONS
  338.  
  339.           The command line options are included in the command line that
  340.           loads SIO in the CONFIG.SYS file.  VSIO has no command line
  341.           options.  Command line options are usually grouped by port within
  342.           parenthesis.
  343.  
  344.           If you use only COM1 and/or COM2, at the standard IRQ and port
  345.           addresses, you will not need any command line options.  However,
  346.           up to four serial communications ports, COM1 thru COM4, can be
  347.           specified at any base port address and any IRQ.  On PS/2 systems
  348.           and some ISA cards, SIO/VSIO supports multiple communications
  349.           devices sharing the same IRQ.
  350.  
  351.           The basic command line syntax is as follows:
  352.  
  353.                DEVICE=SIO.SYS (Cn, An, In, Ig, Fc) [(Cn, An, In, Ig, Fc)]
  354.  
  355.           Where
  356.                "Cn" is the comm port number (1 thru 4) or the string COM1
  357.                thru COMn.  The port number may proceeded by an asterisk "*"
  358.                to indicate that the port may be used as a PCMCIA comm port
  359.                (eg *1 or *COM1).
  360.  
  361.                "An" is a hexadecimal number that defines the base hardware
  362.                I/O port address for the communications port.  If this field
  363.                is left blank, the default I/O port address is used for the
  364.                comm port.  Note that default I/O addresses exist only for
  365.                COM1 through COM4 on AT type systems and for COM1 through
  366.                COM8 on PS/2 systems.
  367.  
  368.                "In" is an IRQ number (0 thru 15) or the string IRQ0 thru
  369.                IRQ15.  It is best if one leaves this field blank and allows
  370.                SIO to determine the IRQ, see AUTOMATIC IRQ ASSIGNMENT
  371.                below.
  372.  
  373.                "Ig" is an ignored parameter.  If exists for compatibility
  374.                with COM.SYS.
  375.  
  376.                "Fc" is the Forced 16550A chip parameter.  If an F is placed
  377.                in this position, a 16550A UART chip type is forced
  378.                regardless of the automatically detected chip type.
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.                                                                           5
  387.  
  388.  
  389.           For a PC with COM1 and COM2 of standard configuration, the
  390.           following command line will load SIO correctly:
  391.  
  392.                DEVICE=SIO.SYS (1, 3F8, 4) (2, 2f8, 3)
  393.  
  394.           A more readable, but identical, command line is:
  395.  
  396.                DEVICE=SIO.SYS (COM1,3F8,IRQ4) (COM2,2F8,IRQ3)
  397.  
  398.           Forcing a 16550A on COM1 would be as follows:
  399.  
  400.                DEVICE=SIO.SYS (COM1,3F8,IRQ4,,F) (COM2,2F8,IRQ3)
  401.  
  402.           In a similar manner, up to sixteen serial communications ports
  403.           (four in the downloadable version) can be defined and supported
  404.           by SIO and VSIO.
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.                                                                           6
  413.  
  414.                                         PCMCIA
  415.  
  416.           OS/2 Version 2.1 introduced limited PCMCIA support which includes
  417.           PCMCIA modems.  I am told that the PCMCIA support will be changed
  418.           in the future, so the following information may change.
  419.  
  420.           SIO supports PCMCIA comm ports or modems.  However, several other
  421.           device drivers or programs are needed to use a PCMCIA modem under
  422.           OS/2.  One of the needed drivers is provided with OS/2 version
  423.           2.1 and is called PCMCIA.SYS which provided "Card Services".
  424.  
  425.           Another needed driver, "Socket Services", is usually supplied by
  426.           the computer manufacturer (or supplier).
  427.  
  428.           A third driver is usually supplied by the modem manufacture (or
  429.           supplier).  This driver is referred to as the "Client Driver".
  430.  
  431.           What all of the above boils down to is that these drivers, or
  432.           their equivalents are needed to enable the PCMCIA modem.  Once
  433.           enabled, SIO can then use the modem.
  434.  
  435.           The Client Driver (or equivalent) usually allows the modems I/O
  436.           address and IRQ to be assigned.  If so, the address and IRQ
  437.           assigned at the Client Driver must match an address/IRQ
  438.           combination for a comm port known to SIO.  This is not a problem
  439.           if one is using standard addresses and IRQs for the comm ports.
  440.  
  441.           If the OS/2 drivers are not available, you can also try to enable
  442.           your PCMCIA modem using a DOS VDM and drivers/programs supplied
  443.           for DOS.  This has worked for many users.
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.                                                                           7
  452.  
  453.  
  454.                                AUTOMATIC IRQ ASSIGNMENT
  455.  
  456.           SIO will automatically locate the IRQ that a comm port is
  457.           attached to.  The IRQ used by SIO for a given comm port is
  458.           assigned in the following manner:
  459.  
  460.           1 - If an IRQ is specified in the SIO command line then that IRQ
  461.           is used.  However, SIO will display a warning message if the IRQ
  462.           seems to be other than specified.
  463.  
  464.           2 - If no IRQ is specified in the command line, and if SIO
  465.           detected the IRQ then the detected IRQ is used.
  466.  
  467.           3 - If no IRQ is specified in the command, and if SIO could NOT
  468.           detect an IRQ then the default IRQ for the comm port is used. 
  469.           SIO will also display a warning message in this case.
  470.  
  471.           The following STYLE command line is recommended for all but the
  472.           most unusual systems.  That is, specify only the port number for
  473.           those above COM2 (to tell SIO to support those ports) and let SIO
  474.           do the rest.
  475.  
  476.           DEVICE=SIO.SYS (COM3) (COM4)
  477.  
  478.           If you do not have a COM3 or COM4, or if the mouse is using the
  479.           only comm port above COM2 then the following command line should
  480.           be used.
  481.  
  482.           DEVICE=SIO.SYS
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.                                                                           8
  491.  
  492.                                      DOS SETTINGS
  493.  
  494.           VSIO gets its operational characteristics from DOS Settings. 
  495.           Several basic DOS Settings are provided.  They specify the type
  496.           of access (if any) that a DOS program is to have to a
  497.           communication port that SIO controls.
  498.  
  499.           All of the DOS Settings default to what most users should use
  500.           most of the time (which is ON).  Also, all of the DOS Settings
  501.           are prefixed with SIO_.
  502.  
  503.           If any of the DOS settings are changed, then the DOS session must
  504.           be restarted from the Work Place Shell for the changed setting to
  505.           take affect.
  506.  
  507.           The provided DOS Settings and their meaning follow:
  508.  
  509.                "SIO_Allow_Access_COMn" (where n is 1 thru 4).  This DOS
  510.                setting defaults to ON.  If this setting is turned OFF for
  511.                any or all of the ports, the DOS program will not be allowed
  512.                any access to that port(s).
  513.  
  514.                "SIO_Virtualize_COM_Ports"  This Dos setting defaults to ON
  515.                and it applies to all communications ports used by the DOS
  516.                session.  When ON, this DOS setting means VSIO is to act as
  517.                an interface between the SIO and the DOS program.  When OFF,
  518.                the DOS program is given direct access to the hardware ports
  519.                of the UART(s).
  520.  
  521.                "SIO_Virtualize_16550A"  This DOS setting defaults to ON and
  522.                it applies to all communications ports used by the DOS
  523.                session.  When ON, VSIO will simulate a 16550A.  When OFF,
  524.                VSIO will simulate a 16450.  Some DOS programs may not work
  525.                when a 16550A is simulated.  Turning this setting off may
  526.                allow the program to work (but slower).
  527.  
  528.                "SIO_Share_Access_With_OS/2"  This DOS setting defaults to
  529.                ON and it applies to all communications ports used by the
  530.                DOS session.  When ON, SIO will allow an OS/2 session to
  531.                access a communications port which the DOS session first
  532.                opened (and has not closed).  If set to OFF, then the DOS
  533.                session will have exclusive use of the communications
  534.                port(s) that it uses.
  535.  
  536.                This setting does not apply to a second DOS session
  537.                attempting to access a communications port,  two different
  538.                DOS sessions are never allowed to access the same port at
  539.                the same time.  Additionally, this setting has no affect
  540.                upon the access to a communications port which is first
  541.                opened by an OS/2 session.
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.                                                                           9
  550.  
  551.  
  552.                "SIO_Screen_Sync_Kludge" DOS setting.  This DOS setting
  553.                defaults to off and it applies to all communications ports
  554.                used by the DOS session.  Some DOS BBS programs (such as
  555.                Wildcat) and many DOS Door programs attempt to synchronize
  556.                the screen output with transmitted data.  This plays havoc
  557.                with a multi tasking system like OS/2 and results in very
  558.                slow transmitted data.  When this setting is on, an attempt
  559.                is made to fake out these misbehaved programs and allow them
  560.                to run at normal transmit speed.  This setting should not be
  561.                turned on unless you experience VERY slow transmission from
  562.                a DOS program.
  563.  
  564.           All of the DOS Settings that begin with "SIO_Mode"  allows one to
  565.           construct a MODE command for a DOS session.  These settings apply
  566.           to SIO proper, and not necessarily to the DOS program itself. 
  567.           For example, if you set XON/XOFF handshake with the appropriate
  568.           SIO_Mode setting, you are specifying that SIO is to implement the
  569.           handshaking.  The DOS application itself will be unaware of this
  570.           handshaking.  This can be very confusing, so think it through
  571.           before you start changing the defaults.
  572.  
  573.           The "SIO_Mode" settings WILL NOT BE APPLIED IF THE COMM PORT IS
  574.           ALREADY OPEN WHEN THE DOS SESSION FIRST ACCESSES THE COMM PORT. 
  575.           This means that the "SIO_Mode" settings will NOT be asserted for
  576.           spawned DOS comm programs.  That is, for spawned DOS comm
  577.           programs, the mode of operation that is already in effect will
  578.           continue in effect and the "SIO_Mode" settings are ignored.
  579.  
  580.                "SIO_Mode_DTR"  This setting has three options that specify
  581.                how SIO and VSIO are to treat the DTR signal.  The there
  582.                available option are:
  583.                          Turn ON at OPEN, OFF at CLOSE.
  584.                          No Change at OPEN or CLOSE.
  585.                          HandShake Signal, as in DTR/DSR.
  586.  
  587.                     If either of the first two settings is selected, then
  588.                     basically the DOS application has direct control over
  589.                     the DTR signal.  If the first option (the default) is
  590.                     selected, then DTR will be turned on by SIO when the
  591.                     DOS program first touches the comm port.
  592.  
  593.                     If the third option is selected, then SIO will use DTR
  594.                     as a handshaking signal.  That is, DTR will be turned
  595.                     off if SIO can not accept any further receive data.  In
  596.                     addition, if the DOS application program turns off the
  597.                     Virtual DTR, VSIO will stop supplying the DOS
  598.                     application with receive data.
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.                                                                          10
  607.  
  608.  
  609.                "SIO_Mode_IDSR"  This setting specifies how SIO is to react
  610.                to received data and the DSR signal.  The two available
  611.                options are:
  612.                          Ignore DSR During Receive.
  613.                          Required for Valid Receive Data.
  614.  
  615.                     If the first option (the default) is selected, then SIO
  616.                     will ignore DTR and accept all received data.  If the
  617.                     second option is selected, then SIO will ignore
  618.                     received data when the DSR signal is off.  VSIO ignores
  619.                     this DOS setting.
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.                                                                          11
  628.  
  629.  
  630.                "SIO_Mode_OCTS"  This setting specifies how SIO will react
  631.                to the CTS signal when transmitting data.  The two available
  632.                options are:
  633.                          HandShake Signal, as in RTS/CTS.
  634.                          Ignore CTS During Transmit.
  635.  
  636.                     If the first option (the default) is selected, then SIO
  637.                     will not transmit data when the CTS signal is off.  If
  638.                     the second option is selected, then SIO will ignore CTS
  639.                     during transmit.  Note that this setting should be set
  640.                     to "Ignore" for 3 wire connections like the Seiko Smart
  641.                     Label Printer, and Laplink.  VSIO ignores this setting
  642.  
  643.                "SIO_Mode_ODSR"  This setting specifies how SIO is to react
  644.                to the DSR signal during transmit.  The two available
  645.                options are:
  646.                          Ignore DSR During Transmit.
  647.                          HandShake Signal, as in DTR/DSR.
  648.  
  649.                     If the first option (the default) is selected, then SIO
  650.                     will ignore DSR during transmit.  If the second option
  651.                     is selected, then SIO will not transmit data when the
  652.                     DSR signal is off.  VSIO ignores this setting.
  653.  
  654.  
  655.                "SIO_Mode_RTS" This setting has three options that specify
  656.                how SIO and VSIO are to treat the RTS signal.  The there
  657.                available option are:
  658.                          HandShake Signal, as in RTS/CTS.
  659.                          No Change at OPEN or CLOSE.
  660.                          Turn ON at OPEN, OFF at CLOSE.
  661.  
  662.                     If either of the last two settings is selected, then
  663.                     basically the DOS application has direct control over
  664.                     the RTS signal.  If the last option is selected, then
  665.                     RTS will be turned on by SIO when the DOS program first
  666.                     touches the comm port.
  667.  
  668.                     If the first option (the default) is selected, then SIO
  669.                     will use RTS as a handshaking signal.  That is, RTS
  670.                     will be turned off if SIO can not accept any further
  671.                     receive data.  In addition, if the DOS application
  672.                     program turns off the virtual RTS signal, VSIO will
  673.                     stop supplying the DOS application with receive data.
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.                                                                          12
  682.  
  683.  
  684.                "SIO_Mode_XON/XOFF"  This setting specifies if (and how) SIO
  685.                is to use XON/XOFF flow control.  The four options are:
  686.                          No XON/XOFF flow control by SIO.
  687.                          Received XON is flow control.
  688.                          Sent XON is flow control.
  689.                          Rcvd and Sent XON is flow control.
  690.  
  691.                     The first option (the default) specifies that SIO is
  692.                     not to use XON/XOFF flow control at all.  The second
  693.                     option specifies that SIO is to treat received XON/XOFF
  694.                     as flow control, but that SIO must not send XON/XOFF as
  695.                     flow control characters.  The third option specifies
  696.                     that SIO may send XON/XOFF as flow control characters,
  697.                     but that received XON/XOFF characters are to be treated
  698.                     as normal data.  The fourth option turns on XON/XOFF
  699.                     flow control in both directions, meaning that all sent
  700.                     and received XON/XOFF characters are flow control.
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.                                                                          13
  709.  
  710.  
  711.                "SIO_Mode_FIFO_Load_Count"  This setting specifies how many
  712.                characters that SIO will load into a 16550A UART at one
  713.                time.  The choices are 1 and 16 (16 is the default).  The
  714.                only case known to the author where one would select a
  715.                setting of 1, is when very fast reaction to flow control is
  716.                needed.  One such case is the Seiko Smart Label Printer
  717.                which uses XON/XOFF flow control and a 3 wire connection. 
  718.                If one is using a 16550 with a load count of 16, then 16
  719.                additional characters may be sent after an XOFF is receive. 
  720.                This condition will overrun the Seiko Printer.  If the "Load
  721.                Count" is set to 1, then SIO will transmit (at most) two
  722.                additional characters following a received XOFF which allows
  723.                the Seiko Printer to work.  A setting of 1 will cause
  724.                additional system overhead due to additional transmit
  725.                interrupts.
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.                                                                          14
  734.  
  735.  
  736.                                 Configuration Profiles
  737.  
  738.           I will attempt to provide the DOS Settings that one should try
  739.           for DOS communications programs in this section.  The settings
  740.           may not work on all systems.  I will add to this section as I
  741.           receive information from users.  All DOS Settings that are not
  742.           given should be at their defaults.
  743.  
  744.           Seiko Smart Label Printer.
  745.                SIO_Mode_OCTS               Ignore CTS During Transmit.
  746.                SIO_Mode_FIFO_Load_Count    1.
  747.                SIO_Mode_XON/XOFF"          Received XON is flow control.
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.                                                                          15
  756.  
  757.                       Differences between SIO/VSIO and COM/VCOM
  758.  
  759.           What follows is some of the differences between SIO/VSIO and
  760.           COM/VCOM that are know to the author.
  761.  
  762.           1 -  COM.SYS will automatically seek out and support four
  763.                comm ports, COM1 through COM4.  SIO.SYS will
  764.                automatically seek out and support only COM1 and COM2. 
  765.                If SIO.SYS is to support more than two comm ports, they
  766.                must be defined in the command line that loads SIO.SYS. 
  767.                For example, DEVICE=SIO.SYS (COM3) (COM4) will cause
  768.                SIO.SYS to support four comm ports.
  769.  
  770.           2 -  In the absence of overrides in the command line,
  771.                COM.SYS will seek out four comm ports in the sequence
  772.                of I/O ports 3F8h, 2F8h, 3E8h and 2E8h.  The first port
  773.                found in this sequence is given the logical name COM1,
  774.                the second is COM2 etc.  This means that the comm port
  775.                at 2F8h could become COM1.  In the opinion of the
  776.                author, this confuses some users to frustration.
  777.  
  778.                With no command line overrides, SIO.SYS uses a fixed
  779.                I/O port concept.  That is, COM1 is always at I/O port
  780.                3F8h, COM2 is always at 2F8h, etc.  Another way of
  781.                looking at this is;  if no comm port exists at port
  782.                3F8h, then you do not have a COM1.  SIO.SYS will not
  783.                move another (found) comm port into the logical COM1
  784.                slot.
  785.  
  786.           3 -  VSIO opens a comm port for a DOS session with sharing
  787.                allowed.  VCOM uses an "exclusive use" open for DOS
  788.                sessions.
  789.  
  790.           4 -  SIO.SYS always controls the FIFOs of the 16550 UART. 
  791.                SIO.SYS will not allow an application program (OS2 or DOS)
  792.                to disable the FIFOs of a real 16550.  The application may
  793.                specify the transmit fifo load count.
  794.  
  795.           5 -  SIO.SYS will accept any number between 50 and 115200 as a
  796.                valid baud rate.  For example, if an application program
  797.                attempts to set a baud rate of 9990 bps, COM.SYS will reject
  798.                it and SIO.SYS will accept it.
  799.  
  800.           6 -  The last decimal digit of a baud rate given to SIO must be
  801.                zero.  SIO.SYS will not support baud rates like 75 or 134.5. 
  802.                If given, they will be rounded to 80 and 130 respectively.
  803.  
  804.           7 -  SIO/VSIO execute faster than COM/VCOM.  This means that some
  805.                applications, that are timing dependant, may not work under
  806.                SIO/VSIO that do work under COM/VCOM.
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.                                                                          16
  815.  
  816.  
  817.           8 -  VSIO optionally (and by default) simulates a 16550A for DOS
  818.                sessions.  VCOM simulates a 8250/16450.
  819.  
  820.           9 -  SIO/VSIO provides more reliable active flow control for DOS
  821.                sessions.  For example, if RTS/CTS handshaking is in use,
  822.                VSIO processes the RTS settings by the DOS program while SIO
  823.                completely controls the real RTS signal.  COM/VCOM simply
  824.                passes the RTS signal directly to the hardware.
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.                                                                          17
  833.  
  834.  
  835.                                 PROBLEMS AND SOLUTIONS
  836.  
  837.           1 -  Port already in use is displayed.
  838.  
  839.                This message is displayed when the comm port or the IRQ is
  840.                in use.  If the comm port is not actually in use, the IRQ is
  841.                most likely in use.
  842.  
  843.           2 -  SIO displays a warning message that the IRQ for a port
  844.                appears to be wrong, but the port works.
  845.  
  846.                SIO probably detected more than one IRQ attached to the comm
  847.                port.  This indicates a possible hardware problem with your
  848.                system that you may want to have checked.
  849.  
  850.           3 - The modem will not initialize.
  851.  
  852.                Configure your comm program(s) to insert a delay between
  853.                modem initialization characters as they are sent to the
  854.                modem.
  855.  
  856.           4 - WinFax locks up during install.
  857.  
  858.                During the WinFax install, temporally turn OFF the DOS
  859.                setting SIO_Virtualize_COM_Ports.  Once installation is
  860.                complete, the setting SIO_Virualize_COM_Ports can be
  861.                restored.
  862.  
  863.           5 - Telemate does not recognize VX00 as a FOSSIL.
  864.  
  865.                Set the baud rate in Telemate to less than 57600.
  866.  
  867.           6 -  Comm output is very slow from DOS.
  868.  
  869.                This is a problem common to many DOS BBS and Door programs. 
  870.                They attempt to synchronize the local screen with the
  871.                transmitted data.  That is, they send a character, wait
  872.                until it is sent and then display the character on the local
  873.                screen.  This does not cause a problem for the signal
  874.                tasking DOS environment.  However, this procedure causes at
  875.                least two (probably more) context switches in the multi-
  876.                tasking environment of OS2, which in turn brings the
  877.                processor to its knees.  One possible solution is for the
  878.                programmer to synchronize line by line instead of character
  879.                by character.
  880.  
  881.           7 -  FaxWorks' driver FMD.SYS cannot access a comm port when SIO
  882.                is used, but works okay with COM.SYS.
  883.  
  884.                The problem may be that the comm port is in use (often by a
  885.                DOS program).  In all cases known to the author, this has
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.                                                                          18
  894.  
  895.                been the case.  That is, FMD.SYS can not access the port
  896.                because it is in use, and FMD.SYS does not report the
  897.                problem in a manner that is understandable to many users.
  898.  
  899.                COM.SYS seems to have a bug that will allow an OS2 device
  900.                driver (like FMD.SYS) to use a comm port when it is in use
  901.                by a another device driver, and it (COM.SYS) does not cause
  902.                an error when it should.  The exact conditions of this is
  903.                not fully understood by the author and the above supposition
  904.                may not be totally correct.
  905.  
  906.           8 -  Procomm stops receiving
  907.  
  908.                Procomm seems to have a bug in its implementation of RTS/CTS
  909.                handshaking.  The problem shows up most often when Procomm
  910.                is windowed.  Under certain conditions, Procomm will turn
  911.                the virtual RTS OFF and does not turn it ON again.  This
  912.                prevents VSIO from sending further data to Procomm if
  913.                SIO_Mode_RTS is set for RTS/CTS handshake.  A solution to
  914.                the problem that seems to work is to set SIO_Mode_RTS to
  915.                other than RTS/CTS handshake.  Note that SIO_Mode_RTS should
  916.                be set for RTS/CTS handshake under almost all other
  917.                conditions.
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.                                                                          19
  926.  
  927.  
  928.           9 - WinFax does not work well.
  929.  
  930.                a- Connect problems with recipient's fax station
  931.  
  932.                b- Cannot send more than one page of a multiple page fax
  933.  
  934.                c- Transmission fails between pages
  935.  
  936.                d- Transmitted pages are corrupted, missing parts, or cut
  937.                off.
  938.  
  939.                Class 1 FAX modem.
  940.                          The modem init strings set by WinFax 3.0 will work
  941.                          in the single-layered comm world of DOS and
  942.                          Windows.  However, these modem init strings will
  943.                          not work in the multi-layered comm environment
  944.                          used by OS/2.  Specifically, WinFax 3.0 sets the
  945.                          modem to use only Xon/Xoff flow control.  Ideally,
  946.                          both Xon/Xoff and Hardware handshaking needs to be
  947.                          set.  If only one handshake can be set, set the
  948.                          modem to Hardware handshake.  For USR FAX modems,
  949.                          use &H3, for many other modems, the setting is
  950.                          &K3.  Additionally, for WinFax 3.04 and up, place
  951.                          the following in your WINFAX.INI file:
  952.                               HdwFlowControl=1
  953.  
  954.                Class 2 FAX modem.
  955.                          It seems to the author that hardware handshake
  956.                          screws up some (possibly all) class 2 FAX modems. 
  957.                          Therefore, when using a class 2 modem, WinFax
  958.                          should be configured to use XON/XOFF handshaking. 
  959.                          For WinFax 3.04 and up, place the following in
  960.                          your WINFAX.INI file:
  961.                               HdwFlowControl=0
  962.  
  963.                          The author feels that the inability to use
  964.                          hardware handshake with class 2 FAX modems is a
  965.                          serious design deficiency.
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.                                                                          20
  974.  
  975.  
  976.           10 - Fax/PM does not work.
  977.                     I have seen many reports that Fax/PM does not work with
  978.                     SIO.  I have not found this to be the case.  The
  979.                     publishers of Fax/PM were kind enough to supply me with
  980.                     Fax/PM and a later update.  I have tested all versions
  981.                     of Fax/PM on several systems and it always works for
  982.                     me.
  983.  
  984.                     Fax/PM's modem initialization and usage is a bit
  985.                     confusing to me.  I believe they have an &F in an
  986.                     internal modem init string that is not visible to the
  987.                     user.  This overrides any settings that the user has
  988.                     programmed into the modem and Fax/PM does not seem to
  989.                     provide an appropriate modem init string automatically. 
  990.                     If my supposition is correct, this means that the
  991.                     Fax/PM user should always supply a complete modem init
  992.                     string, and should not depend on preset settings they
  993.                     have programmed into the modem.
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.                                                                          21
  1002.  
  1003.                                   IRQ SHARING ON ISA
  1004.  
  1005.           Sharing the same IRQ for multiple communications ports on ISA
  1006.           systems is not for the weak of heart (or mind).  If you have
  1007.           problems with shared IRQs, DO NOT contact the author.  Contact
  1008.           the board or computer manufacturer for help.
  1009.  
  1010.           Some general rules are as follows:
  1011.  
  1012.           1 - Two different boards (plugged into different slots) can not
  1013.           share the same IRQ.  This is a hardware limitation of ISA systems
  1014.           and can not be corrected by software.  This means that you can
  1015.           not plug in two internal modems, set them for the same IRQ and
  1016.           expect them to work.  This does not apply to PS/2 systems.  The
  1017.           problem of multiple boards sharing the same IRQ was corrected in
  1018.           the PS/2's buss design.
  1019.  
  1020.           2 - SIO can not (will not) share an IRQ with other device drivers
  1021.           at the same time.  SIO releases IRQs that it is currently not
  1022.           using.  This is different form how COM.SYS works.  This
  1023.           difference may show up as an unexpected "port already in use"
  1024.           error that does not occur with COM.SYS.  I have received reports
  1025.           that the SDLC drivers try to concurrently share IRQs with the
  1026.           ASYNC driver.  SIO.SYS will not allow this while COM.SYS will.
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.                                                                          22
  1035.  
  1036.                     Appendix A, Hardware Port and IRQ Assignments
  1037.  
  1038.           I have obtained the following information from various sources. 
  1039.           Accuracy is not guaranteed.  In fact, nothing in this document is
  1040.           guaranteed.
  1041.  
  1042.           Addresses and IRQs for COM1 and COM2
  1043.  
  1044.                COM1 uses 03F8h and IRQ4
  1045.                COM2 uses 02F8h and IRQ3
  1046.  
  1047.           Defacto standard for COM3 and COM4 for PC, XT and AT
  1048.  
  1049.                COM3 uses 03E8h and IRQ4
  1050.                COM4 uses 02E8h and IRQ3
  1051.  
  1052.           Addresses and IRQ for COM3 through COM8 on the PS/2
  1053.  
  1054.                COM3 uses 3220h and IRQ3
  1055.                COM4 uses 3228h and IRQ3
  1056.                COM5 uses 4220h and IRQ3
  1057.                COM6 uses 4228h and IRQ3
  1058.                COM7 uses 5220h and IRQ3
  1059.                COM8 uses 5228h and IRQ3
  1060.  
  1061.           All PCs (know to the author) prior to the PS/2 and EISA only use
  1062.           10 bits to address hardware I/0 ports.  Systems prior to the PS/2
  1063.           and EISA can not address the standard PS/2 addresses for COM3
  1064.           through COM8.  If an AT or below attempts to address COM3 through
  1065.           COM8 using the PS/2 addresses, only the low 10 bits of the
  1066.           address are used.  That is, the high digit of the hexadecimal
  1067.           address will be ignored.  This means that any reference to COM3
  1068.           through COM8 will actually address ports 220h through 22Fh on
  1069.           older PCs.
  1070.  
  1071.           One should avoid expansion boards that use ports 220h through
  1072.           22Fh unless the expansion board is a serial I/O board. 
  1073.  
  1074.           SIO will (attempt to) determine the hardware architecture
  1075.           (ISA/EISA and PS/2) that it is being executed on and use the
  1076.           appropriate hardware port addresses for COM1 thru COM4 as
  1077.           defaults.
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.                                                                          23
  1086.  
  1087.                                 Appendix B, SIO Chips
  1088.  
  1089.  
  1090.           The following is a collection of comments developed from hearsay,
  1091.           random documents, experience, and technical specifications. So,
  1092.           take it with a grain of salt.  Order information from the various
  1093.           manufactures if you want accurate information.
  1094.  
  1095.           Very good reference books are available from National
  1096.           Semiconductor Corporation.  They cover most of the SIO devices
  1097.           (also called UARTs) that you will find in many PCs and clones.  I
  1098.           am not sure that books can be ordered directly from National
  1099.           semiconductor. They may require that you get it from a
  1100.           distributor.  In any case, the address on the back of the one
  1101.           manual is:
  1102.  
  1103.                National Semiconductor Corporation
  1104.                2900 Semiconductor Drive
  1105.                P.O. Box 58090
  1106.                Santa Clara, CA 95052-8090
  1107.  
  1108.                Tel:(408)721-5000
  1109.                TWX:(910)339-9240
  1110.  
  1111.           8250
  1112.  
  1113.           As best that I know, the 8250 was the first SIO chip (integrated
  1114.           circuit) that was used by the IBM PC and many clones.  In my
  1115.           opinion, it was a poor choice on the part of IBM.  I feel many
  1116.           superior devices, at comparable prices, were readily available. 
  1117.           At that time, I feel the 8251A or the 8530 would have been better
  1118.           choices.  But, they used the 8250 and therefore we must use it.
  1119.  
  1120.           From a hardware standpoint the 8250 is a relatively slow device. 
  1121.           It is advisable that programmers not perform successive inputs or
  1122.           outputs to this device.  It seems that software programs can load
  1123.           the various registers of the 8250 faster than it can process the
  1124.           information.  The 8250 had a total of 7 registers.  The
  1125.           specifications state that 56kb is the maximum baud rate.
  1126.  
  1127.           8250A
  1128.  
  1129.           I believe the 8250A is the 8250 with some bug fixes.  I have no
  1130.           idea what the bugs may have been.  A quick glance at the
  1131.           specifications shows the speed of the 8250 and 8250A to be much
  1132.           the same.  The 8250A added an 8th register.  This additional
  1133.           register enables software to detect if an 8250 is installed.  The
  1134.           specifications state that 56kb is the maximum baud rate.
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.                                                                          24
  1143.  
  1144.           16450
  1145.  
  1146.           The 16450 seems to be a speeded up version of the 8250A.  There
  1147.           is no direct way (that I know of) for software to detect the
  1148.           difference between an 8250A and a 16450.  I believe the 16450 was
  1149.           developed to eliminate the need for software to insert delays
  1150.           between successive accesses to the device.  The specifications
  1151.           indicate the 16450 is a much faster device than its predecessors. 
  1152.           The additional speed is only the speed at which the processor can
  1153.           access the device.  The maximum baud rate for the 16450 is still
  1154.           stated at 56kb.  However, I have been told by some people that
  1155.           they have run the 16450 successfully at much higher speeds. I do
  1156.           not believe there was ever a 16450A.
  1157.  
  1158.           16C451
  1159.  
  1160.           The 16C451 is a CMOS version of the 16450.  CMOS is a term for
  1161.           the material and manufacturing process used to make the part. 
  1162.           CMOS typically uses less power than other technologies.  If you
  1163.           are not designing hardware, you should view the 16C451 as a
  1164.           16450.
  1165.  
  1166.           16550 (Non A)
  1167.  
  1168.           It is hard to find a 16550 (Non A).  I was told by National
  1169.           Semiconductor that they did everything they could to get all
  1170.           16550s back.  SIO will detect a 16550 and tell you if you have
  1171.           one.  I am told that the 16550 was installed in early PS/2
  1172.           systems.
  1173.  
  1174.           The 16550 was the first shot at a FIFOed version of the 8250
  1175.           family from National semiconductor.  However, I was told by
  1176.           National Semiconductor that the FIFOs of the 16550 are not
  1177.           reliable and they should not be enabled.  SIO will treat a 16550
  1178.           like a 16450.  In this mode, they are reliable.  National
  1179.           Semiconductor would not provide me with a specification for the
  1180.           16550.  However, I suspect its maximum baud rate is the same as
  1181.           the 16550A which is 256kb.
  1182.  
  1183.           16550A, 16550AF and 16550AFN
  1184.  
  1185.           In the manuals that I have, National Semiconductor does not
  1186.           explain the differences between the 16550A and the 16550AF.  I
  1187.           suspect the AF part may have a few bug fixes.  I believe the N in
  1188.           AFN describes packaging, ceramic versus plastic, DIP versus
  1189.           surface mount etc.
  1190.  
  1191.           In the opinion of the author, there is no substitute for the
  1192.           16550A (and its successors) in the 8250 type series.  The 16550A
  1193.           is compatible with most software written for the entire family of
  1194.           8250 type devices.  Programs that are 16550A aware can provide
  1195.           much improved performance over previous devices.
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.                                                                          25
  1204.  
  1205.  
  1206.           The maximum baud rate for the 16550A is specified at 256kb. 
  1207.           However, due to the hardware design of the PC et al, 115kb is the
  1208.           maximum baud rate that can be programmed by software.
  1209.  
  1210.           The 16550A can be plugged into the same socket that contains an
  1211.           8250, 8250A or 16450.  If your SIO expansion board has the SIO
  1212.           chips in sockets, you can upgrade to the 16550A by simply
  1213.           removing the old chips and replacing them with 16550As.
  1214.  
  1215.           The key to the performance increase of the 16550A is its FIFOs. 
  1216.           It has 16 byte FIFOs for both transmit and receive data.
  1217.  
  1218.           16550s Made by Western Digital
  1219.  
  1220.           I have been told, but I have not verified for myself, that 16550s
  1221.           made by Western Digital have a problem with their FIFOs when
  1222.           working at 2400 baud or below.
  1223.  
  1224.           16C551
  1225.  
  1226.           The 16C551 is a CMOS version of the 16550AF.  See the above
  1227.           description of the 16C451 for a discussion of CMOS.  Do not feel
  1228.           you need to upgrade from a 16550A or AF to a 16C551.  There is no
  1229.           gain from an existing users point of view.
  1230.  
  1231.           16C552
  1232.  
  1233.           The 16C552 is two 16C551s on a single chip.
  1234.  
  1235.           16C554
  1236.  
  1237.           The 16C554 is four 16C551s on a single chip.
  1238.  
  1239.           82510
  1240.  
  1241.           I believe Intel is the only company that manufactures the 82510. 
  1242.           The 82510 is feature rich with several modes of operation.  Its
  1243.           default mode is to operate as a 16450.  The 82510 has a 4 byte
  1244.           FIFO for both transmit and receive data.  A 4 byte FIFO is
  1245.           sufficient to provide significant performance over a basic 16450.
  1246.  
  1247.           The 82510 is small in size.  Therefore, it is found in many lap
  1248.           tops.
  1249.  
  1250.           The 82510 is somewhat of a sleeper.  I believe it would be much
  1251.           more widely used if Intel had promoted it more.  However, given a
  1252.           choice between the 82510 and the 16550A, I would select the
  1253.           16550A.
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.                                                                          26
  1262.  
  1263.                        Appendix C, Multi-Port Serial I/0 Cards
  1264.  
  1265.           I have received many requests for information about multi-port
  1266.           serial I/O card.  I will describe the boards that I know about
  1267.           (or have heard about) here.  I will add to the list as I receive
  1268.           precise information from manufactures, users, or I develop it
  1269.           myself.
  1270.  
  1271.           STB 4COM  (ISA buss)
  1272.  
  1273.           I am very impressed with the STB 4COM card, they have almost got
  1274.           it.  Yes, its the same company that makes the VGA cards.  The
  1275.           4COM card uses a 16554 which is the equivalent of four 16550A. 
  1276.           Comm ports can use IRQs 2/9, 3, 4, 5, 10, 11, 12, and 15.  Any or
  1277.           all ports can share IRQs, and they have done this right.  I
  1278.           tested SIO with all four ports of the 4COM on IRQ12 and they
  1279.           worked correctly.  The user can select any of the following I/O
  1280.           port address for a comm port: 3F8, 2F8, 3E8, 2E8, 1A8, 1E8, 1F8,
  1281.           2A8.
  1282.  
  1283.           The 4COM card is priced at $110 and I ordered mine from Steve
  1284.           Winter of Prerapture Solutions.  Steve can be reached by
  1285.           telephone at 1-919-286-1502 for information and foreign callers. 
  1286.           In the US orders can be placed by calling 1-800-735-5266.  Their
  1287.           mailing address is:
  1288.                Prerapture Solutions
  1289.                1806 Albany St.
  1290.                Durham NC 27705-3135
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.                                                                          27
  1299.  
  1300.                                         INDEX
  1301.  
  1302.           16450 . . . . . . . . . . . . . . . . . . . . . . . . . . . .  24
  1303.           16550 Non A . . . . . . . . . . . . . . . . . . . . . . . . .  24
  1304.           16550A  . . . . . . . . . . . . . . . . . . . . . . . . . . .  24
  1305.           16550AF . . . . . . . . . . . . . . . . . . . . . . . . . . .  24
  1306.           16550AFN  . . . . . . . . . . . . . . . . . . . . . . . . . .  24
  1307.           16550s Made by Western Digital  . . . . . . . . . . . . . . .  25
  1308.           16C451  . . . . . . . . . . . . . . . . . . . . . . . . . . .  24
  1309.           16C551  . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
  1310.           16C552  . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
  1311.           16C554  . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
  1312.           8250  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  23
  1313.           8250A . . . . . . . . . . . . . . . . . . . . . . . . . . . .  23
  1314.           82510 . . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
  1315.           Addresses and IRQ for COM3 through COM8 on the PS/2 . . . . .  22
  1316.           Addresses and IRQs for COM1 and COM2  . . . . . . . . . . . .  22
  1317.           Allow_Access_COMn . . . . . . . . . . . . . . . . . . . . . . . 8
  1318.           Appendix A, Hardware Notes  . . . . . . . . . . . . . . . . .  22
  1319.           Appendix B, SIO Chips . . . . . . . . . . . . . . . . . . . .  23
  1320.           Appendix C, Multi-Port Serial I/0 Cards . . . . . . . . . . .  26
  1321.           AUTOMATIC IRQ ASSIGNMENT  . . . . . . . . . . . . . . . . . . . 7
  1322.           COMn already in use . . . . . . . . . . . . . . . . . . . . .  17
  1323.           CompuServe  . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1324.           CONFIG.SYS  . . . . . . . . . . . . . . . . . . . . . . . . . . 3
  1325.           Defacto standard for COM3 and COM4  . . . . . . . . . . . . .  22
  1326.           Differences between SIO/VSIO and COM/VCOM . . . . . . . . . .  15
  1327.           DOS SETTINGS  . . . . . . . . . . . . . . . . . . . . . . . . . 8
  1328.           Email . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1329.           Exclusive use . . . . . . . . . . . . . . . . . . . . . . . . . 8
  1330.           FAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1331.           FAX Modems
  1332.                Class 1 FAX modem  . . . . . . . . . . . . . . . . . . .  19
  1333.                Class 2 FAX modem  . . . . . . . . . . . . . . . . . . .  19
  1334.           Fax/PM  . . . . . . . . . . . . . . . . . . . . . . . . . . .  20
  1335.           FaxWorks  . . . . . . . . . . . . . . . . . . . . . . . . . .  17
  1336.           FIFO  . . . . . . . . . . . . . . . . . . . . . . . . . .  24, 25
  1337.           FMD.SYS . . . . . . . . . . . . . . . . . . . . . . . . . . .  17
  1338.           GETTING STARTED . . . . . . . . . . . . . . . . . . . . . . . . 3
  1339.           Installing SIO/VSIO . . . . . . . . . . . . . . . . . . . . . . 3
  1340.           IRQ . . . . . . . . . . . . . . . . . . . . . . . . . . . 4, 6, 7
  1341.           IRQ SHARING ON ISA  . . . . . . . . . . . . . . . . . . . . .  21
  1342.           National Semiconductor Corporation  . . . . . . . . . . . . .  23
  1343.           OS2AVEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1344.           PCMCIA  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
  1345.           PDD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
  1346.           Physical Device Driver  . . . . . . . . . . . . . . . . . . . . 2
  1347.           PKUNZIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
  1348.                Authentic files  . . . . . . . . . . . . . . . . . . . . . 3
  1349.           PROBLEMS AND SOLUTIONS  . . . . . . . . . . . . . . . . . . .  17
  1350.           Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . 3
  1351.           RTS/CTS handshaking . . . . . . . . . . . . . . . . . . . . . . 2
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.                                                                          28
  1360.  
  1361.           Seiko Smart Label Printer . . . . . . . . . . . . . .  11, 13, 14
  1362.           SIO Chips . . . . . . . . . . . . . . . . . . . . . . . . . .  23
  1363.           SIO Technical Reference Manual  . . . . . . . . . . . . . . . . i
  1364.           SIO_Mode_DTR  . . . . . . . . . . . . . . . . . . . . . . . . . 9
  1365.           SIO_Mode_FIFO_Load_Count  . . . . . . . . . . . . . . . . . .  13
  1366.           SIO_Mode_IDSR . . . . . . . . . . . . . . . . . . . . . . . .  10
  1367.           SIO_Mode_OCTS . . . . . . . . . . . . . . . . . . . . . . . .  11
  1368.           SIO_Mode_ODSR . . . . . . . . . . . . . . . . . . . . . . . .  11
  1369.           SIO_Mode_RTS  . . . . . . . . . . . . . . . . . . . . . . . .  11
  1370.           SIO_Mode_XON/XOFF . . . . . . . . . . . . . . . . . . . . . .  12
  1371.           SIO_Screen_Sync_Kludge  . . . . . . . . . . . . . . . . . . . . 9
  1372.           SIO_Share_Access_With_OS/2  . . . . . . . . . . . . . . . . . . 8
  1373.           STB 4COM  . . . . . . . . . . . . . . . . . . . . . . . . . .  26
  1374.           Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
  1375.           UART  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  23
  1376.           VDD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
  1377.           Virtual Device Driver . . . . . . . . . . . . . . . . . . . . . 2
  1378.           Virtualize_16550A_For_COM . . . . . . . . . . . . . . . . . . . 8
  1379.           Virtualize_COM_Ports  . . . . . . . . . . . . . . . . . . . . . 8
  1380.           WHAT IS SIO . . . . . . . . . . . . . . . . . . . . . . . . . . 1
  1381.           WHAT IS VSIO  . . . . . . . . . . . . . . . . . . . . . . . . . 2
  1382.           WinFax  . . . . . . . . . . . . . . . . . . . . . . . . .  17, 19
  1383.